package com.music.muisc.dao;

import com.music.muisc.entity.Interaction;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface InteractionRepository extends CrudRepository<Interaction, Integer>{

    @Override
    List<Interaction> findAll();

    Interaction findByInteractionId(int theId);
}
